passt-0^20241030.gee7d0b6-1.fc42

List of Findings

Error: CPPCHECK_WARNING (CWE-457): [#def1]
passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/icmp.c:288: error[legacyUninitvar]: Uninitialized variable: proto
#  286|   	}
#  287|   
#  288|-> 	flow = flow_at_sidx(flow_lookup_af(c, proto, PIF_TAP,
#  289|   					   af, saddr, daddr, id, id));
#  290|   

Error: CPPCHECK_WARNING (CWE-457): [#def2]
passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/icmp.c:289: error[legacyUninitvar]: Uninitialized variable: id
#  287|   
#  288|   	flow = flow_at_sidx(flow_lookup_af(c, proto, PIF_TAP,
#  289|-> 					   af, saddr, daddr, id, id));
#  290|   
#  291|   	if (flow)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c: scope_hint: In function ‘main’
passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c:402:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(s, (int)fd)’
passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c: scope_hint: In function ‘main’
#  400|   	fprintf(stderr, "Connected to %s\n", addr.sun_path);
#  401|   
#  402|-> 	if (dup2(s, (int)fd) < 0) {
#  403|   		perror("dup");
#  404|   		exit(EXIT_FAILURE);

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-110.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namepasst-0^20241030.gee7d0b6-1.fc42
store-results-to/tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.tar.xz
time-created2024-11-13 02:21:07
time-finished2024-11-13 02:22:58
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9